<!DOCTYPE html>
<html lang="en" >
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
<div th:if="${error}" th:text="${error}"></div>
<form action="/login" method="post">
    账号<input type="text" name="username"></input>
    密码<input type="password" name="password"></input>
    <input type="submit" value="登陆"></input>
</form>

</body>
</html>